<!doctype html>

<title>GTD L8R</title>
<script src="src/js/mock_data.js"></script>

<body>

<h1 data=window>$title</h1>

<h2>Simple array iteration:</h2>
<ol>
 <li data=array>$each</li>
</ol>

<h2>Object array iteration:</h2>
<ol>
  <li data=data_array>
   $each.name - $each.id - $i
  </li>
</ol>

<h2>Expression operators:</h2>
<span data=expression_ops>
<img src="http://www.google.com/images/$src|.gif" /> $value|.no operator
</span>

<h2>Recursion:</h2>
<table border=1>
	<tr data=tasks>
		<td>$i</td>
		<td>$each.done</td>
		<td>$each.name $each.tasks</td>
		<td>$each.start</td>
		<td>$each.end</td>
	</tr>
</table>

<h2>Expressions</h2>
<div data=messages>
 <h3>$subject</h3>
 <div>From $author.name, posted at $time|localTime.</div>
 $message
</div>

<script src="src/js/jquery-1.3.2.js"></script>
<script src="src/js/gNius.js"></script>
<script>
$(function(){$('[data]').gNius();});
</script>

</body>
